package interview;

import interview.stack.MinStack;

public class minStack {
    public static void main(String[] args) {
        MinStack minStack = new MinStack();
        minStack.push(2);
        minStack.push(3);
        minStack.push(6);
        minStack.push(7);
        minStack.push(9);
        minStack.push(0);
        minStack.push(5);
        System.out.println(minStack.getMin());
        System.out.println(minStack.pop());
        System.out.println(minStack.pop());
        System.out.println(minStack.getMin());
    }
}
